home *** CD-ROM | disk | FTP | other *** search
/ Champak 142 / Volume 142 Oct 17 2011 - Damaged.iso / Games / Fashion_Recall.swf / scripts / DefineButton2_484 / BUTTONCONDACTION on(press).as next >
Text File  |  2011-10-17  |  255b  |  12 lines

  1. on(press){
  2.    _parent.clkany = true;
  3.    if(_currentframe < 3)
  4.    {
  5.       gotoAndStop(3);
  6.       _parent.dragitems.gotoAndStop(_name);
  7.       _parent.dragitems._x = _X;
  8.       _parent.dragitems._y = _Y;
  9.       startDrag(_parent.dragitems,0);
  10.    }
  11. }
  12.